package com.feng;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Hello world!
 *
 */
@EnableDiscoveryClient //表示向注册中心注册。
@SpringBootApplication
public class EurekaClient2Application
{
    public static void main(String[] args) {
        SpringApplication.run(EurekaClient2Application.class, args);
    }
}
